package com.mfangsoft.zhuangjialong.integration.usermanage.mapper;

import java.util.List;

import com.mfangsoft.zhuangjialong.common.model.Page;
import com.mfangsoft.zhuangjialong.common.utils.stereotype.WriterRepository;
import com.mfangsoft.zhuangjialong.integration.usermanage.model.UserCustomerReportEntity;
@WriterRepository
public interface UserCustomerReportEntityMapper {
    /**
     * 通过主键删除  
     *
     * @MLTH_generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 插入数据  
     *
     * @MLTH_generated
     */
    int insert(UserCustomerReportEntity record);

    int insertSelective(UserCustomerReportEntity record);

    /**
     * 通过主键查询数据 
     *
     * @MLTH_generated
     */
    UserCustomerReportEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserCustomerReportEntity record);

    /**
     * 通过主键更新数据  
     *
     * @MLTH_generated
     */
    int updateByPrimaryKey(UserCustomerReportEntity record);
   
    /**
     * 根据导购id查询客户报备
     * @param page
     * @return
     */
	List<UserCustomerReportEntity> selectCustomerByUserManagerIdForPage(Page<UserCustomerReportEntity> param);
}